﻿using System.Data;
using ET;
using DAL;

namespace BLL
{
    public class Proposed_Detail_BLL
    {
        public static Proposed_Detail_DAL cls = new Proposed_Detail_DAL();
        #region[Get-Data]
        public DataTable GetDataProposedTemp(int id)
        {
            return cls.GetDataProposedTemp(id);
        }
        public DataTable GetDataProposedTempEdit(int id, int id_1)
        {
            return cls.GetDataProposedTempEdit(id,id_1);
        }
        public DataTable GetDataProposedTempEditQuality(int id)
        {
            return cls.GetDataProposedTempEditQuality(id);
        }
        public DataTable GetDataProposedTempActive(int id)
        {
            return cls.GetDataProposedTempActive(id);
        }
        public DataTable GetDataProposedTempSum(int id)
        {
            return cls.GetDataProposedTempSum(id);
        }
        public DataTable GetDataProposedTempSumEdit(int id)
        {
            return cls.GetDataProposedTempSumEdit(id);
        }
        public DataTable GetDataProposedQualityStill(int id)
        {
            return cls.GetDataProposedQualityStill(id);
        }
        #endregion

        #region[Insert-Update-Delete]
        public static bool InsertProposedDetail(Proposed_Detail_ET obj)
        {
            return cls.InsertProposedDetail(obj);
        }
        public static bool InsertProposedDetailMaterial(Proposed_Detail_ET obj)
        {
            return cls.InsertProposedDetailMaterial(obj);
        }
        public static bool InsertProposedDetailMaterialTemp(Proposed_Detail_Temp_ET obj)
        {
            return cls.InsertProposedDetailMaterialTemp(obj);
        }
        public static bool InsertProposedDetailMaterialTempEdit(Proposed_Detail_Temp_ET obj)
        {
            return cls.InsertProposedDetailMaterialTempEdit(obj);
        }
        public static bool UpdateQualityProposedDetail(Proposed_Detail_ET obj)
        {
            return cls.UpdateQualityProposedDetail(obj);
        }
        public static bool UpdateQualityProposedDetailTemp(Proposed_Detail_ET obj)
        {
            return cls.UpdateQualityProposedDetailTemp(obj);
        }
        public static bool UpdateQualityProposedDetailTempEdit(Proposed_Detail_ET obj)
        {
            return cls.UpdateQualityProposedDetailTempEdit(obj);
        }
        public static bool DeleteProposedTemp(int id)
        {
            return cls.DeleteProposedTemp(id);
        }
        #endregion
    }
}
